package com.xuchang.mapper;

import com.xuchang.domain.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuchang.model.SysMenuPrivilegesDto;

import java.util.List;

/**
* @author xuchang
* @description 针对表【sys_menu(系统菜单)】的数据库操作Mapper
* @createDate 2025-06-29 22:19:06
* @Entity com.xuchang.domain.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> selectMenuByUserId(Long userId);

    List<SysMenuPrivilegesDto> findMenusByRoleId(Long roleId);
}




